﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace Equation.Enterprise.Utilities.Caching
{
    public sealed class CacheExpiration
    {
        public static CacheExpiration Instance = new CacheExpiration();

        private Hashtable cachedItems;

        public Hashtable CachedItems
        {
            get { return cachedItems; }
            set { cachedItems = value; }
        }

        private CacheExpiration()
        {
            Hashtable hash = new Hashtable(StringComparer.OrdinalIgnoreCase);
            cachedItems = Hashtable.Synchronized(hash);
        }

        public bool IsExpired(string cacheId)
        {
            return false;
        }
    }
}
